package com.example.lemieripetizioni;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class QualeMateriaFragment extends Fragment {
	/**
	 * The fragment argument representing the section number for this fragment.
	 */
	public static final String ARG_SECTION_NUMBER = "section_number";

	public QualeMateriaFragment() {
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View rootView = inflater.inflate(R.layout.quale_materia, container, false);
		TextView dummyTextView = (TextView) rootView.findViewById(R.id.quale_materia_label);
		dummyTextView.setText("Quale materia " + Integer.toString(getArguments().getInt(ARG_SECTION_NUMBER)));

		// Intent i = new Intent(getActivity(), CercaIlProfActivity.class);
		// startActivity(i);

		return rootView;
	}
}
